package com.sparrow.source.persistense;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sparrow.source.common.dto.UserVerifyLog;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author bryceyung
 * @since 2024/11/19
 */
@TableName(value = "ias_user")
@Data
public class IasUser {

    private Integer uid;

    private Long personId;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String name;

    private String tel;

    private String channel;

    private Boolean deleted;

    private String faceImg;

    private Date syncTime;

    @TableField(exist = false)
    private List<IasFace> faceList;

    @TableField(exist = false)
    private List<UserVerifyLog> reportList;
}
